//
//  ChangeToWhiteView.m
//  Bluetooth Mini Games
//
//  Created by iD Student on 7/15/13.
//  Copyright (c) 2013 ZTBWorks. All rights reserved.
//

#import "ChangeToWhiteView.h"

@implementation ChangeToWhiteView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void) startGame
{
    int time = arc4random() % 5 + 3;
    sleep(time);
    self.backgroundColor = [UIColor whiteColor];
    player1InstructionLabel.textColor = [UIColor blackColor];
    player2InstructionLabel.textColor = [UIColor blackColor];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
